package com.hzqx.xxzx.framework.oss;

import com.alibaba.fastjson.JSON;
import com.aliyun.oss.model.PutObjectRequest;
import com.aliyun.oss.model.PutObjectResult;

import java.io.File;
import java.io.InputStream;

public interface OSSClient {

    /**
     * 上传文件
     */
    OSSUploadFileResponse putObject(File file);
    OSSUploadFileResponse putObject(InputStream file);
    OSSUploadFileResponse putObject(InputStream file,String fileName);


}
